package com.kehutong.applet.entity;

import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: 商务合作电话管理
 * @author: joneron
 * @create: 2021/5/26
 **/
@Table(value="t_applet_tel", comment="商务电话管理",idType = IDType.TIMESTAMP)
public class BusinessCallEntity extends Entity {

    private static final long serialVersionUID = -1857099259283772611L;

    protected BusinessCallEntity(String id) {
        super(id);
    }

    @Column(comment="标题")
    private String businessTitle;

    @Column(comment="电话号码")
    private String phone;

    @Column(comment="排序")
    private Integer sortNum;

    @Column(comment="是否显示")
    private boolean status;

    @Column(comment="创建人")
    private String createName;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;


    public String getBusinessTitle() {
        return businessTitle;
    }

    public void setBusinessTitle(String businessTitle) {
        this.businessTitle = businessTitle;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
}
